<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>企业信息</h2>
        <ol class="breadcrumb">
            <li>
                <a href="#">首页</a>
            </li>
            <li>
                <a href="#{:U('Enterprise/')}">企业信息</a>
            </li>
            <li class="active">
                <strong>{$isEdit?'修改':'添加'}企业信息</strong>
            </li>
        </ol>
    </div>
</div>

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div>
                        <button class="btn btn-link" type="button" onclick="history.back()">
                            <span class="fa fa-angle-left"></span>
                            返回
                        </button>
                    </div>
                    <form method="post" class="form-horizontal" id="form1">
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">公司名称</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.enterprise_name}" placeholder="公司名称" name="enterprise_name" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">手机号码</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.telphone_number}" placeholder="手机号码" name="telphone_number" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">创建时间</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.createtime}" placeholder="创建时间" name="createtime" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">审核状态</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.status}" placeholder="审核状态" name="status" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">原因（不通过）</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.reason}" placeholder="原因（不通过）" name="reason" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">登陆账号</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.account}" placeholder="登陆账号" name="account" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">公司联系人名称</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.enterprise_contact_name}" placeholder="公司联系人名称" name="enterprise_contact_name" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">座机号码</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.landline_number}" placeholder="座机号码" name="landline_number" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">email</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.email}" placeholder="email" name="email" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">营业执照图</label>
                            <div class="col-sm-10">

                               {:_img_up('business_licence_img',$m.business_licence_img)}
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">营业执照编号</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.business_licence_code}" placeholder="营业执照编号" name="business_licence_code" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">QQ号</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.qq_number}" placeholder="QQ号" name="qq_number" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">联系人地址</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.contact_address}" placeholder="联系人地址" name="contact_address" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">注册地址</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.register_address}" placeholder="注册地址" name="register_address" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">公司官网</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.enterprise_websit}" placeholder="公司官网" name="enterprise_websit" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">收款账号</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.recipient_account_number}" placeholder="收款账号" name="recipient_account_number" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">收款账号开户行</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.recipient_account_bank}" placeholder="收款账号开户行" name="recipient_account_bank" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">收款账号开户名</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.recipient_account_name}" placeholder="收款账号开户名" name="recipient_account_name" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">收款账号支行</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.recipient_account_detail_bank}" placeholder="收款账号支行" name="recipient_account_detail_bank" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">税务登记证图片</label>
                                                    <div class="col-sm-10">
                                                    {:_img_up('tax_licence_img',$m.tax_licence_img)}
                                                    </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">税务登记证号</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.tax_licence_number}" placeholder="税务登记证号" name="tax_licence_number" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">财务联系人</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.finance_contact_name}" placeholder="财务联系人" name="finance_contact_name" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">财务联系人邮箱</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.finance_contact_email}" placeholder="财务联系人邮箱" name="finance_contact_email" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">财务联系人手机号</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.finance_contact_telphone}" placeholder="财务联系人手机号" name="finance_contact_telphone" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">结算材料邮寄地址</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.finance_material_address}" placeholder="结算材料邮寄地址" name="finance_material_address" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">登陆密码</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.password}" placeholder="登陆密码" name="password" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <!--<button class="btn btn-white" data-op="reset" type="button">重 置</button>-->
                                <!--&nbsp;-->
                                <!--&nbsp;-->
                                <button data-style="expand-left" class="btn btn-primary ladda-button" type="button"
                                        data-op="submit">确 定
                                </button>
                            </div>
                        </div>
                        <div>
                            <button class="btn btn-link" data-op="back" type="button">
                                <span class="fa fa-angle-left"></span>
                                返回
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    YForm.create('#form1', "{:U('saveModel')}",'{$m.id}');
</script>